.player-info-card {
    display: flex;
    padding: 24px;
    background: var(--on-background-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    gap: 16px;
}

.player-avatar {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    padding: 16px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--background-color);
}

.player-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.player-details h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-text-color);
}

.player-details p {
    color: var(--secondary-text-color);
    margin: 4px 0;
}

.player-details strong {
    font-weight: 700;
}

.player-details em {
    font-style: italic;
    color: var(--accent-color);
}

.player-details p:last-child {
    font-weight: 500;
}



.player-stats-table,
.recent-matches {
    flex: 1;
}

.player-team {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    margin-bottom: auto;
}

.player-team img {
    height: 32px;
    width: 32px;
}